package com.bjtang.book.enums;

/**
 * Target打开方式枚举
 */
public enum TARGET {
	MENU_ITEM, MENU_BLANK;

	public static boolean isValidName(String name) {
		for (TARGET target : TARGET.values()) {
			if (target.name().equals(name)) {
				return true;
			}
		}
		if ("#".equals(name))
			return true;

		return false;
	}
}
